package com.iengoo.inductionms.service.impl;

import com.iengoo.inductionms.entity.Province;
import com.iengoo.inductionms.mapper.ProvinceMapper;
import com.iengoo.inductionms.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author:huermao
 **/
@Service
public class ProvinceServiceImpl implements ProvinceService {
    @Autowired
    private ProvinceMapper provinceMapper;
    @Override
    public List<Province> queryAll() {
        List<Province> provinceList = provinceMapper.queryAll();
        return provinceList;
    }
}
